
/* import Comp1 from "@/components/Comp1"
import Comp2 from "@/components/Comp2" */
/* import { Button } from 'antd';
import {UpCircleOutlined} from "@ant-design/icons" */
import { Link, useRoutes} from "react-router-dom"  //!相当于占位符,用来展示组件
import router from './router'


function App() {

  const outlet = useRoutes(router)
  return (
    <div className="App">
     
     {/*  <p>
        顶级组件
      </p>
      <Link to="/home">To Home</Link> &nbsp; &nbsp;
      <Link to="/about">To 关于</Link>
      <Link to="/user">To 用户</Link> */}
      {/*     <Comp1 />
      <Comp2 /> */}
      {/* <Button type="primary">Link Button</Button>
      <UpCircleOutlined style={{
        fontSize: "35px",
        color: "#f47920"
      }}/> */}
      
     {/*  <Outlet></Outlet> */}
     
     {outlet}
     

    </div>
  )
}

export default App
